table { border-collapse: collapse; }
 table.NotInRegion { border: 0 }
 table.InRegion { border: 1px black solid; cellpadding: 0; }
 table.HabTgt { width: 25px; height: 9px; border: 1px solid red; }
 table.StaTgt { width: 25px; height: 9px; border: 1px solid black; }
 table.NonTgt { width: 25px; height: 9px; border: 1px solid white; }
 table.Legend td,th                     { border: 1px solid black; }
 table.Legend td:nth-of-type(3) { text-align: left; width: 500px; }

td { height:20px; text-align:center; font:9pt arial; font-weight:600 }
 td.QuadName { height: 9px; font-size:9; font-weight:normal }
 td.Level0 { background: red }
 td.Level1 { background: white }
 td.Level2 { background: #FFFFCC }
 td.Level3 { background: #FFFF66 }
 td.Level4 { background: #CCFF66 }
 td.Level5 { background: #66FF00 }
 td.Level6 { background: #66CC00 }
 td.Level7 { background: #669900 }

/* top-of-quad colors... */
tr.SubTot_ { background: #FF6666 } /* red if 0 species found */
/* SubTot0 ...                      no color for 1-9 species */
tr.SubTot1 { background: #FFFFCC }
tr.SubTot2 { background: #FFFF66 }
tr.SubTot3 { background: #CCFF66 }
tr.SubTot4 { background: #66FF00 }
tr.SubTot5 { background: #FFCC00 }
tr.SubTot6 { background: #70944D }
tr.SubTot7 { background: #70944D }
tr.SubTot8 { background: #70944D }
tr.SubTot9 { background: #70944D }

table:last-child th { background-color: gainsboro; }
